cmake_minimum_required (VERSION 3.6)

project(components_reb)

file(GLOB SRC "adapter/cmsis/*.c" "src/*.c")

add_library(${PROJECT_NAME} STATIC ${SRC})

target_include_directories(${PROJECT_NAME} PUBLIC  "include")

add_dependencies(${PROJECT_NAME} kernal_cmsis cmsis_mem)
target_link_libraries(${PROJECT_NAME} kernal_cmsis cmsis_mem)
target_compile_options(${PROJECT_NAME} PRIVATE -g)

